.file-page {
    .nav-content {
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        background: #fff;

        .left {
            height: 100%;
            display: flex;
            align-items: center;

            .title {
                font-weight: 500;
                font-size: 19px;
                color: $xboot-text-color;
            }
        }

        .right {
            height: 100%;
            display: flex;
            align-items: center;

            .icon {
                width: 25px;
                height: 25px;
            }

            .r {
                margin-right: 20px !important;
            }

            .r2 {
                margin-right: 3px !important;
            }

            .top {
                margin-top: 2px !important;
            }
        }
    }

    .menu-item {
        padding: 13px 16px;
        display: flex;
        align-items: center;
        position: relative;
        background: #fff;

        .menu-icon-img {
            width: 21px;
            height: 21px;
            margin-right: 10px;
        }

        .iconfont {
            font-size: 21px;
            color: $xboot-icon-color;
            margin-right: 10px;
        }

        .txt {
            font-size: 16px;
            color: $xboot-text-color;
        }

        &:hover {
            background: $xboot-bg-color-hover;
        }

        &::after {
            content: '';
            position: absolute;
            border-bottom: 1px solid #eaeef1;
            -webkit-transform: scaleY(0.5);
            transform: sc8aleY(0.5);
            bottom: 0;
            right: 16px;
            left: 16px;
        }
    }

    .border-top {
        border-radius: 4px 4px 0 0;
    }

    .border-bottom {
        border-radius: 0 0 4px 4px;
    }

    .content {
        padding: 0 0 50px 0;
        padding-top: var(--status-bar-height);
        margin-top: 44px;
        display: flex;
        box-sizing: border-box;
        flex-direction: column;
        position: relative;

        .top {
            padding: 4px 15px;
        }

        .icons-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 90px;

            .item {
                display: flex;
                flex-direction: column;
                align-items: center;
                width: 50px;

                .icon {
                    width: 35px;
                    height: 35px;
                    margin-bottom: 5px;
                }

                .txt {
                    color: $xboot-text-color;
                    font-size: 13px;
                }
            }

        }

        .grey-gap {
            width: 100%;
            height: 8px;
            background: $xboot-bg-color-grey;
        }

        .header-content {
            padding: 0 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 44px;
            border-bottom: 1px solid $xboot-border-color;
            color: $xboot-text-color-black-grey;
            font-size: 14px;
            background: #fff;

            .left {
                display: flex;
                align-items: center;
                height: 100%;
                color: $xboot-text-color-black-grey;

                .r {
                    margin-right: 4px !important;
                }
            }

            .right {
                display: flex;
                align-items: center;
                height: 100%;

                .iconfont {
                    font-size: 20px;
                    margin-right: 3px;
                }

                .icon-filter {
                    font-size: 25px;
                }

                .r {
                    margin-right: 20px;
                }
            }
        }

        .sort-content {
            display: flex;
            flex-direction: column;

            .seleted {
                color: $xboot-primary !important;
            }

            .l {
                margin-left: 5px !important;
            }
        }

        .filter-content {
            padding: 15px;
            display: flex;
            flex-direction: column;

            .title {
                font-size: 17px;
                padding: 0 0 15px 0;
            }

            .items {
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
            }
        }

        .upload-content {
            padding: 15px;
            display: flex;
            flex-direction: column;

            .upload {
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                justify-content: space-between;
                height: 90px;

                .item {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    width: 75px;

                    .icon {
                        width: 35px;
                        height: 35px;
                        margin-bottom: 5px;
                    }

                    .txt {
                        color: $xboot-text-color;
                        font-size: 13px;
                    }
                }
            }
        }

        .file-list-item {
            padding: 8px 15px;
            height: 55px;
            display: flex;
            align-items: center;
            justify-content: flex-start;

            &:after {
                content: '';
                position: absolute;
                border-bottom: 1px solid $xboot-border-color;
                -webkit-transform: scaleY(0.5) translateZ(0);
                transform: scaleY(0.5) translateZ(0);
                -webkit-transform-origin: 0 100%;
                transform-origin: 0 100%;
                bottom: 0;
                right: 0;
                left: 65px;
                pointer-events: none;
            }

            .icon {
                width: 40px;
                height: 40px;
                margin-right: 13px;

                .img {
                    width: 40px;
                    height: 40px;
                    border-radius: 8px;
                }
            }

            .detail {
                display: flex;
                flex-direction: column;
                width: 100%;

                .title-top {
                    display: flex;
                    align-items: center;
                    margin-bottom: 2px;
                    width: 100%;

                    .title {
                        font-size: 16px;
                        color: $xboot-text-color;
                        width: calc(100vw - 83px);
                    }

                    .title-collect {
                        width: calc(100vw - 105px);
                    }

                    .collect-icon {
                        margin-left: 6px !important;
                    }
                }

                .desc {
                    display: flex;
                    align-items: center;
                    font-size: 13px;
                    color: $xboot-text-color-grey;

                    .size {
                        margin-left: 10px !important;
                    }
                }
            }

            &:active {
                background: $xboot-bg-color-hover;
            }
        }

        .table-view {
            padding: 0 15px;

            .file-item {
                border-radius: 8px;
                background: #f0f0f0;
                margin-top: 10px;
                height: 130px;
                padding: 6px;
                position: relative;

                .collect-icon {
                    position: absolute;
                    right: 8px;
                    top: 8px;
                    background: #fff;
                    z-index: 1;
                    border-radius: 50%;
                    width: 20px;
                    height: 20px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }

                .preview {
                    border-radius: 8px;
                    height: 85px;
                    width: 100%;
                    background: #fff;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    .preview-img {
                        border-radius: 8px;
                        width: 100%;
                        height: 100%;
                    }
                }

                .preview-icon {
                    border-radius: 8px;
                    height: 85px;
                    width: 100%;
                    background: #fff;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    .preview-img {
                        width: 35px;
                        height: 35px;
                    }
                }

                .info {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    width: 100%;
                    height: 50px;

                    .icon {
                        width: 20px;
                        height: 20px;
                    }

                    .title {
                        font-size: 14px;
                        margin-left: 5px;
                        color: $xboot-text-color;
                        width: calc(100% - 55px);
                        display: -webkit-box;
                        overflow: hidden;
                        word-break: break-all;
                        text-overflow: ellipsis;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2;
                    }

                    .more {
                        padding: 8px 0 8px 10px;
                    }
                }
            }
        }
    }

    .folder-modal {
        display: flex;
        align-items: center;
        flex-direction: column;

        .folder-title {
            padding-bottom: 10px;
            font-size: 17px;
            font-weight: 500;
        }

        .folder-input {
            width: 100%;
            margin-bottom: 20px;
        }

        .btns {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;

            .r {
                margin-right: 8px !important;
            }
        }
    }
}